Can you write a series of scripts that feed into each other's output? Ideally you want to write a series of scripts that accept a stream of text as input, and output another stream of text. If you don't know ho wto read a stream of text as input in python, consider how we used the sys module to write to stderr.
Hint: you should write the scripts as text files and then run them in a notebook cell using either the ! or %%bash notation.
Hint: you coulkd reuse the classes from the OOP exercizes.
Exercise 1: biological sequences manipulation
Can you write (and chain) the following scripts:
You can use the ../data/proteome.faa and ../data/genome.fasta as input files.
In [ ]:
Exercise 2: graph theory, manipulation and analysis
Can you write (and chain) the following scripts:
curl) and filter the interactions by their string scoreYou can use the E. coli string network as an example; you can download it here. You can decide to parse the whole network, or to filter for high scoring interactions (i.e. > 800).
In [ ]: